package com.hoopchina.ui.main;


/**
 * ViewHistoryItem
 * 历史Activity
 * @author Neusoft
 */
public class ViewHistoryItem {
	private Class<?>      mType;
	private boolean       mIsOnTop;            // is view a on top view
	private String        mViewId;             // activity Id
	
	public Class<?> getType() {
		return mType;
	}
	
	/**
	 * 该Activity是否在顶层
	 */
	public boolean getIsOnTop() {
		return mIsOnTop;
	}
	
	
	/**
	 * 获得该Activity的id
	 */
	public String getViewId() {
		return mViewId;
	}

	/**
	 * 构造器
	 */
	public ViewHistoryItem( Class<?> aType, String aViewId, boolean aIsOnTop ) {
		mType = aType;
		mViewId = aViewId;
		mIsOnTop = aIsOnTop;
	}
	
	/**
	 * 构造器
	 */
	public ViewHistoryItem( ViewHistoryItem aItem ) {
		mType = aItem.getType();
		mViewId = aItem.getViewId();
		mIsOnTop = aItem.getIsOnTop();
	}

}
